<template>
  <view>
    <view style="font-size: 20px; line-height: 50px; text-align: center;">框架平台</view>
    <view class="container">
      <u-cell-group>
        <u-cell title="账号密码登录" :isLink="true" @click="toPage('/pages/login/login-default')"></u-cell>
        <u-cell title="微信公众号授权登录" :isLink="true" @click="toPage('/pages/login/login-wechat-mp')"></u-cell>
        <u-cell title="微信小程序授权登录" :isLink="true" @click="toPage('/pages/login/login-wechat-miniapp')"></u-cell>
      </u-cell-group>
    </view>
  </view>
</template>

<script>
let that;
export default {
  data() {
    return {}
  },
  onLoad() {
    that = this;
  },
  methods: {
    toPage(pageName) {
      uni.$u.route(pageName);
    }
  }
}
</script>

<style scoped>

</style>
